package com.gzsxy.esjy.service.base.dto.response;

import com.gzsxy.esjy.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 商品评论
 * @date 2022/2/11 9:39
 */
@Data
@ApiModel
public class CommentRsp extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "评价分数")
    private BigDecimal contentScore;

    @ApiModelProperty(value = "评论人ID（外键）")
    private String fromuserId;

    @ApiModelProperty(value = "来自账号")
    private String fromuserName;

    @ApiModelProperty(value = "评论人ID（外键）")
    private String fromuserImagePath;

    @ApiModelProperty(value = "用户ip")
    private String userIp;

    @ApiModelProperty(value = "商品ID（外键）")
    private String productId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "商品名称")
    private String title;

    @ApiModelProperty(value = "回复内容")
    private String replyContent;

    @ApiModelProperty(value = "回复时间")
    private String replyDate;

    @ApiModelProperty(value = "回复人ID（外键）")
    private String replyUserId;

    @ApiModelProperty(value = "回复账号")
    private String replyUserName;

    @ApiModelProperty(value = "商品")
    private ProductRsp productRsp;

    @ApiModelProperty(value = "用户")
    private UserRsp userRsp;
}
